<%@ page language="java" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>struts2功能测试</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  
  <body>
  	
  	<ol>
  		<li><a href="${pageContext.request.contextPath}/dmi/dmi.jsp" target="_blank">Action调用方式之：DMI</a></li>
  		<li><a href="${pageContext.request.contextPath}/wildcard/wildcard.jsp" target="_blank">Action调用方式之：通配符</a></li>
  		<li><a href="${pageContext.request.contextPath}/paramInput/paramInput.jsp" target="_blank">参数注入</a></li>
  		<li><a href="${pageContext.request.contextPath}/characterEncoding/encoding.jsp" target="_blank">中文编码</a></li>
  		<li><a href="${pageContext.request.contextPath}/validation/validation.jsp" target="_blank">数据校验</a></li>
  		<li><a href="<%=basePath%>/webElements/webElement.jsp" target="_blank">访问web元素：request_session_application | HttpServletRequest_HttpSession_ServletContext</a></li>
  		<li><a href="<%=basePath%>/xxxxxxx.action" target="_blank">默认的Action【如果规定了后缀名，则必须以.action收尾，否则404】</a></li>
  		<li><a href="<%=basePath%>/resultType/resultType.jsp" target="_blank">结果类型</a></li>
  	</ol>
  	
  	
  </body>
</html>
